Use etc/gitinfo.txt instead of RGitCommit.h#13653
Use etc/gitinfo.txt instead of RGitCommit.h#13653Axel-Naumann merged 8 commits intoroot-project:masterfrom
etc/gitinfo.txt instead of RGitCommit.h#13653Conversation
|
Starting build on |
063790b to
d08d83e
Compare
|
Starting build on |
|
Build failed on ROOT-ubuntu2204/nortcxxmod. Errors:
|
|
Build failed on windows10/default. Errors:
|
|
Build failed on mac11/noimt. Errors:
|
|
Build failed on ROOT-performance-centos8-multicore/soversion. Errors:
|
|
Build failed on ROOT-ubuntu2004/python3. Errors:
|
|
Build failed on mac12arm/cxx20. Errors:
|
This prevents TROOT.cxx from being rebuilt everytime the commit changes. Instead, use gitinfo.txt
This isn't needed at compiletime; using the text file prevents rebuilding / having to maintain `RGitCommit.h`.
Deprecate the use of `RGitCommit.h`: it triggers rebuilds where the git info is in fact not needed at compiletime; all uses are replaced by parsing `gitinfo.txt`. Instead, create `etc/gitinfo.txt` even if the source directory is not a git repo. This only works for releases (even `ROOT_PATCH_VERSION`), where the tag and the branch can be determined from the version numbers.
It can be generated at buildtime.
d08d83e to
1001f12
Compare
|
Starting build on |
|
@Axel-Naumann , this change is causing few unit tests to fail for CMSSW ( see cms-sw/cmsdist#8734 (comment) ). I guess we are missing |
|
Thanks indeed, should be fixed by #13794 |
No description provided.